package org.gpf.templateMethod.PCDemo;

public class PC extends Template {

	public PC(String pcType) {
		super(pcType);
	}

	@Override
	protected void makeCPU(String pcType) {
		
		System.out.println(pcType + "CPU造好了！");
	}

	@Override
	protected void makeMainBoard(String pcType) {
		
		System.out.println(pcType + "主板造好了！");
	}

	@Override
	protected void makeHD(String pcType) {
		
		System.out.println(pcType + "硬盘造好了！");
	}

}
